import requests
from util import *
import random



a=requests.post("http://localhost:5000/login",data={'data':d2j({'login':'18232342334','password':'12344565546'})}).json()

print(d2j(a,4))
# b=requests.get("http://localhost:5000/query_doc",data={'data':d2j({'name':'登入'})}).json()
#
# print(json.dumps(b,ensure_ascii=0,indent=4))


#
#
# print("(%s)"%",".join(['23','3']))
# print(str(tuple([23])))
#
# c=[{'a':1},{'a':1},{'a':1},{'b':2},{'b':2}]
# deleteRepeat(c)
#
# print(c)
#
#
# a=[1,2,3,4,5]
# b=[x for x in a if x>3]
# del a[1]
#
# exit()
# _ss=requests.Session()
# _ss.post('http://127.0.0.1:5000/login',{'login':'login1','password':'password1'})
#
